package com.cs.store.service;

import com.cs.domain.entity.ShopCar;
import com.cs.domain.vo.OrderVo;

import java.util.List;

public interface IOrderService {

    List<ShopCar> findByuserId(String username);

    Integer payOrder(String username,Long storeId,String orderNum,String payPrice);

    public Integer delCarAfOrder(String orderNum);

    List<OrderVo>  findUserOrder(String username);
    List<OrderVo>  findStoreOrder(String storeName);
    List<OrderVo>  oneUserOrder(String orderNum);

    Integer delUserOrder(Long orderId);

    Integer updateOrder(String state, String orderNum);
}
